<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang='ja'>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="language" content="en" />
<title><?php echo $this->pageTitle; ?></title>
<?php
Yii::app()->session['startTime'] = microtime();
$cs=Yii::app()->clientScript;
$cs->registerCoreScript('jquery');
$cs->registerScriptFile(Yii::app()->request->baseUrl.'/js/jquery.tooltip.pack.js', CClientScript::POS_HEAD);
$cs->registerScriptFile(Yii::app()->request->baseUrl.'/js/captcharequest.js', CClientScript::POS_HEAD);
$cs->registerCSSFile(Yii::app()->request->baseUrl.'/css/main.css');
$script = '$(\'#pretty\').tooltip({ track: true, delay: 0, showURL: false, showBody: " - ",                  
 extraClass: "pretty", fixPNG: true, opacity: 0.95 });';
$cs->registerScript('pretty', $script, CClientScript::POS_READY);
?>
</head>
<body>
<?php $version =
 'オフ会くん0.2 - Copyright (C) 2009 by mocapapa<br>
 Yiiによる宴会くんクローンです。<br>
 公式サイトはここ⇒http://code.google.com/p/yiijan-offkaikun/<br>
 $Id: main.php 2 2009-12-25 09:19:58Z mocapapa@g.pugpug.org $'; ?>
<center>
  <table  width="90%">
    <tr>
      <td>
        <h3><span id="pretty" title="<?php echo $version; ?>">&nbsp;</span>オフ会くん</h3>
          <div class="text" align="right">
  <?php echo CHtml::link('[参加者メニュー]', Yii::app()->createUrl('sankasya/menu')); ?>
  <?php echo CHtml::link('[幹事メニュー]', Yii::app()->createUrl('offkai/menu')); ?>
        </div>
        <br>
      </td>
    </tr>
    <tr>
      <td>
<?php echo $content; ?>
      </td>
    </tr>
  </table>
</center>
<br>

  <center>
    <font size="-1">Copyright(C) 2009 by mocapapa; based on Yii/<?php echo Yii::getVersion()."-r".EyiiVersion::getVersion();
				 list($e1, $e0) = explode(" ", microtime());
				 list($s1, $s0) = explode(" ", Yii::app()->session['startTime']);
				 print(sprintf(", in %.2f[msec]", (($e1+$e0)-($s1+$s0))*1000.0));
 ?></font>
  </center>

</body>

</html>